import request from '@/utils/request'
/**
 * 超级用户登陆相关API
 */
// 用户登录
export const login = data => {
  return request({
    method: 'POST',
    url: '/admin/login',
    data
  })
}
// 获取验证码
export const captcha = () => {
  return request({
    method: 'GET',
    url: '/admin/captcha'
  })
}
// 登录退出
export const loginOut = () => {
  return request({
    method: 'POST',
    url: '/admin/login_out'
  })
}
